/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.dag-toolbar {
  width: 100%;
  height: 50px;
  background-color: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  box-sizing: border-box;

  h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 0 10px 0 0;
  }

  .transparent {
    width: 1px;
    height: 1px;
    opacity: 0;
  }

  .toolbar-operation {
    font-size: 18px;
    cursor: pointer;
    margin-left: 20px;
    color: #666666;
    &:hover {
      color: #288fff;
    }
    &.last{
      margin-right: 10px;
    }
  }

  .toolbar-btn {
    font-size: 16px;
  }

  .toolbar-left {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .toolbar-right {
    justify-self: flex-end;
    display: flex;
    align-items: center;
  }

  .toolbar-el-btn{
    margin-right: 0;
    margin-left: 10px;
  }

  .custom-ico{
    display: block;
    width: 18px;
    height: 18px;
    background-size: 100% 100%;

    &.view-variables{
      background-image: url('../images/view-variables.png');
      &:hover{
        background-image: url('../images/view-variables_hover.png');
      }
    }

    &.startup-parameters{
      background-image: url('../images/startup-params.png');
      &:hover{
        background-image: url('../images/startup-params_hover.png');
      }
    }

    &.full-screen-open{
      background-image: url('../images/full-screen-open.png');
      &:hover{
        background-image: url('../images/full-screen-open_hover.png');
      }
    }

    &.full-screen-close{
      background-image: url('../images/full-screen-close.png');
      &:hover{
        background-image: url('../images/full-screen-close_hover.png');
      }
    }

    &.graph-format{
      background-image: url('../images/graph-format.png');
      &:hover{
        background-image: url('../images/graph-format_hover.png');
      }
    }
  }

  .process-online-tag{
    margin-left: 10px;
  }

  .search-box{
    width: 0;
    overflow: hidden;
    transition: all 0.5s;

    &.visible{
      width: 200px;
    }
  }
}
